//
//  TMSearchHeaderView.m
//  国学培训用户端
//
//  Created by Tao Li on 2018/7/9.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "TMSearchHeaderView.h"

@implementation TMSearchHeaderView
-(id)initWithFrame:(CGRect)frame{
    
    self=[super initWithFrame:frame];
    
    if (self) {
        [self displayUIs];
    }
    return self;
    
}
//124
- (void)displayUIs{
    TMSearchHeader *vc = [[NSBundle mainBundle] loadNibNamed:@"TMSearchHeader" owner:nil options:nil][0];
    vc.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height);
    [self addSubview:vc];

}
@end
